From ffa261e6adef70a2845878cf93e6e492eb8cee62 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 27 Feb 2023 10:49:45 +0700
Subject: footer

---
 src/pages/my/address/[id]/edit.jsx | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

(limited to 'src/pages/my/address/[id]/edit.jsx')

diff --git a/src/pages/my/address/[id]/edit.jsx b/src/pages/my/address/[id]/edit.jsx
index 65d7cf9b..bc5f3471 100644
--- a/src/pages/my/address/[id]/edit.jsx
+++ b/src/pages/my/address/[id]/edit.jsx
@@ -1,15 +1,18 @@
 import AppLayout from '@/core/components/layouts/AppLayout'
 import addressApi from '@/lib/address/api/addressApi'
 import EditAddressComponent from '@/lib/address/components/EditAddress'
+import IsAuth from '@/lib/auth/components/IsAuth'
 
 export default function EditAddress({ id, defaultValues }) {
   return (
-    <AppLayout title='Ubah Alamat'>
-      <EditAddressComponent
-        id={id}
-        defaultValues={defaultValues}
-      />
-    </AppLayout>
+    <IsAuth>
+      <AppLayout title='Ubah Alamat'>
+        <EditAddressComponent
+          id={id}
+          defaultValues={defaultValues}
+        />
+      </AppLayout>
+    </IsAuth>
   )
 }
 
-- 
cgit v1.2.3

